const Layout = () => import("@/layout/index.vue");

export default {
  path: "/crud",
  name: "Crud",
  component: Layout,
  redirect: "/crud/list",
  meta: {
    icon: "ep:home-filled",
    title: "crud",
    rank: 0
  },
  children: [
    {
      path: "/crud/list",
      name: "List",
      component: () => import("@/views/crud/list.vue"),
      meta: {
        title: "CRUD",
        showLink: true
      }
    },
    {
      path: "/crud/detail",
      name: "Detail",
      component: () => import("@/views/crud/detail.vue"),
      meta: {
        title: "详情页",
        showLink: false,
        activePath: "/crud/list"
      }
    }
  ]
} satisfies RouteConfigsTable;
